package yxy.apple.util.data;

public interface DataContainable {
	public void put(String key, Object value);

	public Object get(String key);

	public Object remove(String key);

	public <T> T get(String key, T defaultValue);

	public Object getObject(String key, Object defaultValue);

	public boolean getBoolean(String key, boolean defaultValue);

	public byte getByte(String key, byte defaultValue);

	public short getShort(String key, short defaultValue);

	public int getInt(String key, int defaultValue);

	public long getLong(String key, long defaultValue);

	public float getFloat(String key, float defaultValue);

	public double getDouble(String key, double defaultValue);

	public String getString(String key, String defaultValue);

	public byte[] getBytes(String key, byte[] defaultValue);
}
